<%@ Page Language="vb" AutoEventWireup="false" Codebehind="reactivate.aspx.vb" Inherits="ccapps.Web.page.reactivate" %>
<script>	
		function isNumeric(str)
		// returns true if str is numeric
		// that is it contains only the digits 0-9
		// returns false otherwise
		// returns false if empty
		{
			var len= str.length;
			if (len==0)
				return false;
			//else
			var p=0;
			var ok= true;
			var ch= "";
			while (ok && p<len)
			{
				ch= str.charAt(p);
				if ('0'<=ch && ch<='9')
				p++;
				else
				ok= false;
			}
			return ok;
		}

		function numericValue(str)
		// returns the numeric value of str (which must be all digits)
		{
			
			if (isNumeric(str)==false)
			{
				alert("Please enter numeric value!!!");
				document.all("txt_msisdn").focus();
				return "NaN";
			}
		}
</script>
<form id="Form1" method="post" runat="server">
	<input id="proc" type="hidden" name="proc" runat="server">
	<table id="Table1" cellSpacing="0" cellPadding="0" width="100%" border="0">
		<tr>
			<td class="solbaslik">MSISDN</td>
			<td class="input"><asp:textbox id="txt_msisdn" onblur="numericValue(this.value)" tabIndex="2" runat="server"></asp:textbox></td>
		</tr>
		<tr>
			<td class="solbaslik">Rate Plan</td>
			<td class="input"><asp:dropdownlist id="ddl_rp" runat="server"></asp:dropdownlist></td>
		</tr>
		<tr>
			<td class="solbaslik">Reason</td>
			<td class="input"><asp:dropdownlist id="ddl_reason" runat="server">
					<asp:ListItem Value="rs_id">rs_desc</asp:ListItem>
				</asp:dropdownlist></td>
		</tr>
	</table>
	<asp:label id="Lblok" runat="server" Height="24px" Width="200px" ForeColor="#C00000" Font-Size="10pt"
		Font-Names="Tahoma"></asp:label>
	<asp:datagrid id="dg_DATA" runat="server" Width="100%" Height="72px" BorderColor="BurlyWood"
		AutoGenerateColumns="False" Visible="False">
		<AlternatingItemStyle Font-Size="9pt" HorizontalAlign="Center" ForeColor="DarkBlue" BackColor="#D0CA89"></AlternatingItemStyle>
		<ItemStyle Font-Size="9pt" Font-Names="Verdana" HorizontalAlign="Center" ForeColor="DarkBlue"
			BackColor="LemonChiffon"></ItemStyle>
		<HeaderStyle Font-Size="10pt" Font-Names="Verdana" Font-Bold="True" HorizontalAlign="Center"
			ForeColor="Orange" BackColor="DarkCyan"></HeaderStyle>
		<Columns>
			<asp:BoundColumn DataField="MSISDN" HeaderText="MSISDN">
				<HeaderStyle Width="20%"></HeaderStyle>
			</asp:BoundColumn>
			<asp:BoundColumn DataField="ICCID" HeaderText="ICC-ID">
				<HeaderStyle Width="35%"></HeaderStyle>
			</asp:BoundColumn>
			<asp:BoundColumn DataField="CUSTOMER_ID" HeaderText="NEW CUSTOMER ID">
				<HeaderStyle Width="25%"></HeaderStyle>
			</asp:BoundColumn>
			<asp:BoundColumn DataField="CO_ID" HeaderText="NEW CONTRACT ID">
				<HeaderStyle Width="30%"></HeaderStyle>
			</asp:BoundColumn>
		</Columns>
	</asp:datagrid>
	<SCRIPT src="/ccapps/web/js/buttonset.js"></SCRIPT>
	<script>begin();link("Create","create");link("Clear Form","clear");end();</script>
</form>
